package com.zjsd.sqeybusiness.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class ShareLy {

    private Long lyid ;
    private Long shareid;
    private Long agencyid;
    private String lynr;
    private Date lysj;
    private String agencyname ;
    private Long companyid ;
    private String companyname ;
    private String companyphone ;
    private List<Lyhfinfo> lyhflist = new ArrayList<Lyhfinfo>();
    private String lyrdh ;

    public String getLyrdh() {
        return lyrdh;
    }

    public void setLyrdh(String lyrdh) {
        this.lyrdh = lyrdh;
    }

    public Long getLyid() {
        return lyid;
    }

    public void setLyid(Long lyid) {
        this.lyid = lyid;
    }

    public Long getShareid() {
        return shareid;
    }

    public void setShareid(Long shareid) {
        this.shareid = shareid;
    }

    public Long getAgencyid() {
        return agencyid;
    }

    public void setAgencyid(Long agencyid) {
        this.agencyid = agencyid;
    }

    public String getLynr() {
        return lynr;
    }

    public void setLynr(String lynr) {
        this.lynr = lynr;
    }

    public Date getLysj() {
        return lysj;
    }

    public void setLysj(Date lysj) {
        this.lysj = lysj;
    }

    public String getAgencyname() {
        return agencyname;
    }

    public void setAgencyname(String agencyname) {
        this.agencyname = agencyname;
    }

    public Long getCompanyid() {
        return companyid;
    }

    public void setCompanyid(Long companyid) {
        this.companyid = companyid;
    }

    public String getCompanyname() {
        return companyname;
    }

    public void setCompanyname(String companyname) {
        this.companyname = companyname;
    }

    public List<Lyhfinfo> getLyhflist() {
        return lyhflist;
    }

    public void setLyhflist(List<Lyhfinfo> lyhflist) {
        this.lyhflist = lyhflist;
    }

    public String getCompanyphone() {
        return companyphone;
    }

    public void setCompanyphone(String companyphone) {
        this.companyphone = companyphone;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("lyid", getLyid())
                .append("shareid", getShareid())
                .append("agencyid", getAgencyid())
                .append("lynr", getLynr())
                .append("lysj", getLysj())
                .append("agencyname",getAgencyname())
                .append("companyid",getCompanyid())
                .append("companyname",getCompanyname())
                .append("lyhflist",getLyhflist())
                .append("companyphone",getCompanyphone())
                .toString();
    }
}
